package com.powernode.feign;

import com.powernode.domain.UserAddr;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "member-service")
public interface OrderUserAddrFeign {

    @PostMapping("p/address/loadUserAddrById")
    @ApiOperation("获取默认地址")
    UserAddr loadUserAddrById(@RequestBody String wxUserId);
}
